ter number in the frame (inside the frame is
vertically centered, the title not). Is there a way to align the chapter
title with the chapter number?
\starttexdefinition MyNumberChapterCommand #1
\inframed[frame=off,rightframe=on,framecolor=black,
rulethickness=1px,height=30pt]{
bly you should use a \strut in the text or
> \inframed[strut=yes] to assure the same text height.
>
> HTH, Hraban
> Am 19.03.24 um 12:59 schrieb Jeroen:
>
> I have some style adjustments for the chapters. The chapter "numbers" need
> to be Boek I, Boek II, etc. A
Hi Jeroen,
it might make sense to use
\setuphead[chapter][
conversion=R,
]
\setuplabeltext[nl][chapter={Boek }]
instead of ownnumber.
I would use one command for number and title and put both in the same
kind of frame. Probably you should use a \strut in the text or
\inframed[strut=yes
vertically centered, the title not). Is there a way to align the chapter
title with the chapter number?
\starttexdefinition MyNumberChapterCommand #1
\inframed[frame=off,rightframe=on,framecolor=black,
rulethickness=1px,height=30pt]{#1\enspace}
\stoptexdefinition
\setuphead[chapter][s
On Wed, 31 Jan 2024 19:41:02 +0100
Hans Hagen wrote:
> >> How do it get the same spacing as in the framedtext case?
> >
> > Is there a solution to this? Or an explanation why the spacing
> > differs?
> these are fundamentally different mechanisms ..
with
\inframed in the second case
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
themselves.
Basically one can sign (with some certificate) and then validate.
% sign-001.tex
\setupinteraction[state=start]
\definefield[signature][signed]
\defineoverlay[signature][my signature]
\starttext
\startTEXpage[offset=1ts,frame=on,framecolor=darkblue]
sign: \inframed
ter the meeting) but here is one:
>
> \starttext
>
> \defineoverlay
>[test]
>[\color
> [blue]
> {TEST
>\inframed
> [foregroundcolor=red]
> {xxx}
>TEST}]
>
> \fr
Hi,
I uploaded a new lmtx. There are some new features that wil be revealed
in the future (likely after the meeting) but here is one:
\starttext
\defineoverlay
[test]
[\color
[blue]
{TEST
\inframed
[foregroundcolor=red]
{xxx
chrieb am 19.05.2023 um 14:22:
> > In order to get some inline framed verbatim text, I have in the past
> > always used the following:
> >
> > \starttext
> >
> > This is an
> > \inframed
> > [frame=on,
> > corner=00,
> > radius=2mm,of
Jeroen via ntg-context schrieb am 19.05.2023 um 14:22:
In order to get some inline framed verbatim text, I have in the past
always used the following:
\starttext
This is an
\inframed
[frame=on,
corner=00,
radius=2mm,offset=-1.5pt]
{\ttx \bf example}
\stoptext
Since this has come-up
In order to get some inline framed verbatim text, I have in the past always
used the following:
\starttext
This is an
\inframed
[frame=on,
corner=00,
radius=2mm,offset=-1.5pt]
{\ttx \bf example}
\stoptext
Since this has come-up more and more often, I created the following:
\define[1
,
after={\hrule}
]
\defineenumeration
[example]
[
text=Example,
headalign=middle,
headcolor=white,
headcommand={\inframed[background=color,backgroundcolor=darkgreen,width=\textwidth]},
number=no,
before={%
\starttextbackground[textFrameEx]
},
after
% Cheat to dynamically derive the kerning size by putting Mc in a box.
%
\newbox\MacKernBox%
\setbox\MacKernBox\hbox{\inframed[offset=\zeropoint, width=fit]{Mc}}%
\def\MacDelta{\dimexpr\wd\MacKernBox-\wd\MacMBox-\wd\MacCBox\relax}%
\def\MacUWidth{\dimexpr\wd\MacCBox-.75\MacDel
%
\newbox\MacKernBox%
\setbox\MacKernBox\hbox{\inframed[offset=\zeropoint, width=fit]{Mc}}%
\def\MacDelta{\dimexpr\wd\MacKernBox-\wd\MacMBox-\wd\MacCBox\relax}%
\def\MacUWidth{\dimexpr\wd\MacCBox-.75\MacDelta\relax}%
\def\MacRule{\vrule width \MacUWidth height .04em depth \zeropoint \relax}%
]
%\setupbodyfont[scholas]
\setupbodyfont[termes]
\starttext
\newbox\MacMBox
\setbox\MacMBox\hbox{M}
\newbox\MacCBox
\setbox\MacCBox\hbox{c}
\newbox\MacKernBox
\setbox\MacKernBox\hbox{\inframed[offset=\zeropoint, width=fit]{Mc}}
\def\MacDelta{\dimexpr\wd\MacKernBox-\wd\MacMBox-\wd\MacCBox\relax
ou are certain that the there will be no multi-line item (i.e. item text is
short enough that it fits in slightly less than half of textwidth) you can use
an enumeration, and put the contents inside a two-column layout:
%%% start example-1
\define[1]\aitemcmd{\inframed[width=1cm,align=flushrigh
;
> \starttext
>
>
> This \inframed{works} fine.
>
> \inframed{But} this not.
>
> \stoptext
https://wiki.contextgarden.net/FAQ#Why_is_there_a_line-break_in_the_output_after_some_commands.3F
Aditya
___
If
There is a bug with \framed and related commands: If this is the first object in
a line, a linebreak is inserted! See the following example:
\starttext
This \inframed{works} fine.
\inframed{But} this not.
\stoptext
Thank
to include a highlight definition with white font
on black background with an inframed, but that doesn't seem to work (in
my definitions that is)
___
If your question is of interest to others as well, please add
ve tried the numbercommand as well, but that also just makes the
>> formula number disappear, unless I am doing something wrong.
>> >
>> > The framing as per the math manual (manuals/math/math-framing.tex)
>> however do
as well, but that also just makes the
> formula number disappear, unless I am doing something wrong.
> >
> > The framing as per the math manual (manuals/math/math-framing.tex)
> however does work, so not sure:
> > \setupformula[numbercommand={\inframed[framecolor=green]}]
>
ex) however
> does work, so not sure:
> \setupformula[numbercommand={\inframed[framecolor=green]}]
Are your margins actually non-zero? (\setuplayout)
Maybe check with \showlayout
Hraban
___
If your question is
lob/a0270f13065d116355a953c6f246cbba26289fc2/doc/context/sources/general/manuals/math/math-framing.tex>)
however does work, so not sure:
\setupformula[numbercommand={\inframed[framecolor=green]}]
Adam
On Sun, Mar 21, 2021 at 7:47 PM Henning Hraban Ramm wrote:
>
>
> > Am 21.03.2021 um 19:40 sch
urelistprocessor{chapter:userdata}
{\startlinecorrection[blank]
\hfill \inframed{you really need to look at
\structurelistuservariable{pagenumber}}%
\stoplinecorrection}
\placelist[chapter]
\chapter{one}
\writebetweenlist[chapter][location=here]{\blank page 4\blank}
\writedatatolist[chapter][location=
}
But how can you add an arbitrary page number ?
It all depends on what you want to do
\starttext
\installstructurelistprocessor{chapter:userdata}
{\startlinecorrection[blank]
\hfill \inframed{you really need to look at
\structurelistuservariable{pagenumber}}%
\stoplinecorrection
no
result. Any thoughts on how I can achieve this? As I say, everything
else works except the desired prefix.
Current MWE:
\def\mypagenumber#1%
{\inframed[frame=off,leftframe=on,rightframe=on,orientation=90]{#1}}
\setuppagenumbering[alternative=doublesided,location=margin,command=\mypagenumber
The following:
\starttext
\unexpanded\def\lol#1%
{
\begingroup
\let\processword\inframed
\processwords{#1}%
\endgroup
}
\lol{nice $x^2$} %see what happens with the superscript
\stoptext
works with ConTeXt LMTX, but fails with ConTeXt MkIV:
...mtx/tex/texmf-context/tex/context/base/mkiv/attr
> Am 05.09.2020 um 03:35 schrieb jbf :
>
> (1) the author's names lined up vertically throughout the ToC, and
That would require to typeset the ToC as a table/tabulate; I remember that was
hard to do, and I can’t remember in which product I used it, so I can’t look it
up.
Maybe an
=\ColWidth,
align=flushleft,
]{%
\inframed[
% width=\ColWidth,
align=right,
frame=off,
offset=overlay
t,
> ]
> \setupmargindata[inouter][
> location=right,
> stack=continue,
> align=flushright,
> ]
>
> \def\FNVOffset{0} % Negative vertical offset of footnotes in lines
> % Manual tweaking was necessary for a while, when stacking didn’t work
> reliably.
>
> \def\M
relax,
width=\ColWidth,
align=flushleft,
]{%
\inframed[
width=\ColWidth,
align=right,
frame=off,
offset=overlay,
strut=yes,
]{#1}%
}%
}
\define\PlaceFootnote{%
\inmargin[
voffset=\dimexpr-\FNVOffset\lineheight\relax,
width=\ColWidth,
]{%
\vtop{\placelocalnotes
[MyBar]3~kN\stopbar % OK
$1 + 2 = \startbar[MyBar]3~\text{kN}\stopbar$ % No background behind space
$1 + 2 =
\inframed[frame=off,background=color,backgroundcolor=green,offset=0pt,]{3~\text{kN}}$
% OK!
\stoptext
In the sample 'kN' is a unit, which should be separated by space from
[MyBar]3~\text{kN}\stopbar$ % No background behind space
$1 + 2 =
\inframed[frame=off,background=color,backgroundcolor=green,offset=0pt,]{3~\text{kN}}$
% OK!
\stoptext
In the sample 'kN' is a unit, which should be separated by space from the
result (here: 3);
I am used to put the unit
e[#4][width=\doubleWidth]%
}%
}%
}
% set caption into footer (left page)
\doiftext{#3}{\doifinstring{l}{#2}{%
\setlayer[bgpicleft][
x=\backspace,
y=\dimexpr\makeupheight + \footerheight\relax,
]{%
\doifmodeelse{blackcaption}{%
\tfx\vbox{#3}%
} % Negative vertical offset of footnotes in lines
% Redefine this as necessary (e.g. if long footnotes overflow into the footer)
\def\MarginNote#1{%
\inmargin[
voffset=\dimexpr-\FNVOffset\lineheight\relax,
width=\ColWidth,
align=flushleft,
]{%
\inframed[
width=\ColWidth,
align=right
.5mm,frameoffset=1mm]
\definefield[Name][line][MMshortString][]
\field[Name]
would result in
\inframed[width=45mm,frame=off,bottomframe=on,height=2em,offset=0.5mm,frameoffset=1mm]{}
while
\setupfield[MMradio][frame=on, corner=round, height=0.75em, width=0.75em,
align=bottom, offset=-0.
numeration.
\definesymbol
[taco]
[{\inframed[frame=off,width=2em,align=flushleft]{\textbullet}}]
\starttext
\samplefile{zapf}
\startitemize[text][symbol=taco]
\item \samplefile{weisman}\par
\startitemize
\item \samplefile{ward}\par
\stopitemize
\stopitemize
\stoptext
=\topspace,
width=\pagewidth,
height=\pageheight,
]
\startsetups [setupPage]
\setlayer[pageNumber]
{\hskip\leftmargindistance
\inframed[frame=off,leftframe=on,loffset=1em]{\userpage
=\pagewidth,
height=\pageheight,
]
\startsetups [setupPage]
\setlayer[pageNumber]
{\hskip\leftmargindistance
\inframed[frame=off,leftframe=on,loffset=1em]{\userpage}}
\stopsetups
\setupbackgrounds[page
oad,distance=0.5em]
%
\setupwhitespace[medium]
\defineenumeration[Exam]
[text={\white\translate[en=Example, kr=예제]},
numbercommand={\inframed[corner=round,
framecolor=dYellow,toffset=-1pt,boffset=-1pt, loffset=1ex,roffset=1ex,
background=color,backgroundcolor=blue]}, %height=1.
,
prefixsegments=chapter,
way=bychapter,
counter=Theorem,
before=\startMyText,
after=\stopMyText]
\defineenumeration[Exam]
[text={\white\translate[en=Example, kr=예제]},
numbercommand={\inframed[corner=round,
framecolor=dYellow,toffset=-1pt,boffset=-1pt, loffset=1ex,roffset=1ex,
ba
on, 22 Oct 2018, Fabrice Couvreur wrote:
>>
>> > Hi,
>> > When I use the \inframed{} command twice, they are not on the same
>> baseline.
>> > Thank you.
>> > Fabrice
>> >
>> > \starttext
>> Add \dontleavehmode
>> >
Hi Aditya,
Thanks.
Fabrice
Le lun. 22 oct. 2018 à 12:45, Aditya Mahajan a écrit :
> On Mon, 22 Oct 2018, Fabrice Couvreur wrote:
>
> > Hi,
> > When I use the \inframed{} command twice, they are not on the same
> baseline.
> > Thank you.
> > Fabrice
> &g
On Mon, 22 Oct 2018, Fabrice Couvreur wrote:
Hi,
When I use the \inframed{} command twice, they are not on the same baseline.
Thank you.
Fabrice
\starttext
Add \dontleavehmode
\inframed{\m{I\times X=A^{-1}\times B}} ; \inframed{\m{A^{-1}\times A
\times X=A^{-1}\times B}}
\stoptext
See
Hi,
When I use the \inframed{} command twice, they are not on the same baseline.
Thank you.
Fabrice
\starttext
\inframed{\m{I\times X=A^{-1}\times B}} ; \inframed{\m{A^{-1}\times A
\times X=A^{-1}\times B}}
\stoptext
tés \eTH
> \eTR
> \bTR
> \bTD
> \externalfigure[t:/sources/mill.png][height=12bp]
> \eTD
> \bTD
> zones urbaines
> \eTD
> \eTR
> \bTR
> \bTD
>
]
\eTD
\bTD
zones urbaines
\eTD
\eTR
\bTR
\bTD
\inframed[frame=off,offset=0pt]{\reuseMPgraphic{voies}}
\eTD
\bTD
infrastructures~: voies ferrées
\eTD
{\ss#1}}
\def\PageFrame{%
\inframed[width=14mm,
height=6mm,
frame=off,
offset=0pt,
framecolor=darkgray,
background=color,
backgroundcolor=darkgray]{\color[white]{\ssx\pagenumber}}}
\def\HeadStr#1{\headnumber[#1]\hskip1em\getmarkin
ple, kr=예제]},
numbercommand={\inframed[corner=round,
framecolor=dYellow,toffset=-1pt,boffset=-1pt, loffset=1ex,roffset=1ex,
background=color,backgroundcolor=dGreen]},
%title=no,
alternataive=hanging,
prefix=yes,
prefixsegments=chapter,
way=bychapter,
before={\blank[big]},
af
{\DefCommand},
after=\vskip3pt\hrule\blank]
%%% Examples with or without solutions
\defineenumeration[Exam]
[text={\white\translate[en=Example, kr=예제]},
numbercommand={\inframed[corner=round,
framecolor=dYellow,toffset=-1pt,boffset=-1pt, loffset=1ex,roffset=1ex,
background=color,back
bercommand={\inframed[corner=round,
framecolor=dYellow,toffset=-1pt,boffset=-1pt, loffset=1ex,roffset=1ex,
background=color,backgroundcolor=dGreen]}, %height=1.3em,
%title=no,
prefix=yes,
prefixsegments=chapter,
way=bychapter,
before={\blank[big]},
after=\blank]
Dear Hans,
Deleting “height=“ fixes the problem.
Thank you so much.
Best regards,
Dalyoung
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
On 1/4/2018 10:11 AM, Jeong Dal wrote:
numbercommand={\inframed[corner=round, framecolor=dYellow, loffset=1ex,
roffset=1ex, height=1.3em, background=color,backgroundcolor=dGreen]},
just omit the height key
Dear all,
First, Happy New Year!
In the output of the following sample code, the baseline of the framed text
“Example” is slightly lower than the following sentences. But, in the wiki,
\inframed is set center-aligned.
Please tell me how to fix it.
Thank you for reading.
Best regards
.
Best regards,
Dalyoung
> you need "numbercommand":
>
> \defineenumeration
>[Example]
>[headcommand={\framed[background=color,backgroundcolor=red]},
>
> numbercommand={\inframed[height=2ex,background=color,backgroundcolor=green]},
>
> titlecom
you for reading.
Best regards,
Dalyoung
%%% minimal example %%%
\setupcolors[state=start]
\definecolor[dGreen] [r=0,g=.375,b=.0]
\defineenumeration[Example]
[command={\inframed[corner=round, background=color,
backgroundcolor=darkgreen,height=1.3em]},
text=Example,
prefix=yes
%%% minimal example %%%
\setupcolors[state=start]
\definecolor[dGreen] [r=0,g=.375,b=.0]
\defineenumeration[Example]
[command={\inframed[corner=round, background=color,
backgroundcolor=darkgreen,height=1.3em]},
text=Example,
prefix=yes,
prefixsegments=chapter,
way=bychapter
=]
\setupheadertexts [][{\it\getmarking[section]}]
[{\it\getmarking[chapter]}][]
\setupheadertexts [margin]
[]
[{\inframed[frame=off,leftframe=on,loffset=1em]
{\userpage}}]
[{\inframed[frame=off,rightframe=on,roffset
The following was in answer to 3/11/2017 4:52 PM, Pavneet Arora:
On 13 Mar 2017, at 00:27, Hans Hagen <pra...@wxs.nl<mailto:pra...@wxs.nl>>
wrote:
\starttext
\start
\definefont[whatever][Sans at 50pt]
\dontleavehmode\inframed
[foregroundstyle=whatever,
ame=off,location=middle,align=flushleft]{%
\definedfont[Sans at
25pt]\setupinterlinespace\setupwhitespace[-1.0em]{SUB-TITLE\\ SUB-TITLE}}%
\stoptext
->8
\starttext
\start
\definefont[whatever][Sans at 50pt]
\dontleavehmode\inframed
[foregroun
][direction=reverse]
\setupregister[index][
before=,after=,
command=\MyCommand,
alternative=b,
color=red,
]
\def\MyCommand#1{#1}
%\def\MyCommand#1{\inframed[frame=no]{#1}} % this fixes the problem
\showboxes
\starttext
\index{آب}
\index{عذر}
\index[تک]{TEX}
testing
\placeindex
\stoptext
any
in one direction is kind of bad anyway so if you want
just one glyph you can do
\inframed{\scale[width=3em,height=1ex]{...}}
or whatever suits the purpose
Agreed. Here's a little more background, so it makes some sense why I
want to scale horizontally, and then I describe my final solution.
in one direction is kind of bad anyway so if you want
just one glyph you can do
\inframed{\scale[width=3em,height=1ex]{...}}
or whatever suits the purpose
Agreed. Here's a little more background, so it makes some sense why I
want to scale horizontally, and then I describe my final solution.
way so if you want
just one glyph you can do
\inframed{\scale[width=3em,height=1ex]{...}}
or whatever suits the purpose
Agreed. Here's a little more background, so it makes some sense why I
want to scale horizontally, and then I describe my final solution. I
have a specific case where I use a
atever][default][extend=2.5]
\definedfont[Serif*whatever at 12pt]
whatever
\stoptext
Thank you. One thing that \getscaledglyph does it works agnostic to the
currently selected font. For example:
scaling glyphs in one direction is kind of bad anyway so if you want
just one glyph you can do
\in
[direction=reverse]
\setupregister[index][
before=,after=,
command=\MyCommand,
alternative=b,
color=red,
]
\def\MyCommand#1{#1}
%\def\MyCommand#1{\inframed[frame=no]{#1}} % this fixes the problem
\showboxes
\starttext
\index{آب}
\index{عذر}
\index[تک]{TEX}
testing
\placeindex
\stoptext
So
on right of the page. The numbering of the
> chapters is fixed at 0, why ?
> thank you,
> Fabrice
>
>
>
> \unexpanded\def\HeadTitle#1#2%
> {\vbox \bgroup
>\setupframed[offset=0.5em,frame=off]
>\inframed[width=fit,align=right]{#1}%
>\inframe
I wish the chapter title on right of the page. The numbering of the chapters is
fixed at 0, why ?
thank you,
Fabrice
\unexpanded\def\HeadTitle#1#2%
{\vbox \bgroup
\setupframed[offset=0.5em,frame=off]
\inframed[width=fit,align=right]{#1}%
\inframed[width=fit,align=right]{#2
Thank you Hans, the code would be :
\unexpanded\def\HeadTitle#1#2%
{\hbox to \hsize \bgroup
\hfill
\setupframed[offset=0.5em,frame=off]
\inframed[width=fit,align=left,frame=off]{\darkred#1}%
\inframed[width=fit,align=right,leftframe=on,rulethickness=4pt,framecolor=darkred]{#2
such ... better use:
\unexpanded\def\HeadTitle#1#2%
{\hbox to \hsize \bgroup
\inframed[width=fit,align=left]{\darkred#1}%
\inframed[width=fit,align=right,leftframe=on,rulethickness=4pt,framecolor=dark
mental framed support in beta ...
\starttext
\setupformulaframed[framecolor=red,frame=on,offset=1ex]
\setupformula[option=frame,color=blue]
\setupformula[numbercommand={\inframed[framecolor=green]}]
\startplaceformula
\startformula
2 + 2 = 3 + 1
\stopformula
\stopplaceformula
\st
, such that it aligns
in the middle of where the regular-sized \bullet would be. I tried
using \inframed[height=\lineheight], but I couldn't find a way to make
that end up in the right place.
\definesymbol
[smallbullet]
[\raise.1ex\hbox{\mathematics{\scriptstyle\bullet
][smallbullet]
>>
>> This aligns the smaller bullet point to the baseline of text, which is
>> too low. I'd like to have it vertically centered, such that it aligns
>> in the middle of where the regular-sized \bullet would be. I tried
>> using \inframed[height=
the regular-sized \bullet would be. I tried
using \inframed[height=\lineheight], but I couldn't find a way to make
that end up in the right place.
Any suggestions please?
Thanks,
--
Kate
___
If your question
aligns the smaller bullet point to the baseline of text, which is
too low. I'd like to have it vertically centered, such that it aligns
in the middle of where the regular-sized \bullet would be. I tried
using \inframed[height=\lineheight], but I couldn't find a way to make
that end up in the right
Hello,
I've tracked down the problem :
\def\numeroLigneCode#1{\inframed[width=fit,strut=yes,frame=off,rightframe=on]{\switchtobodyfont[9pt]#1}}
\definetyping[code][numbering=line,page=yes,bodyfont=9pt,before={%
\begingroup%
\setuplinenumbering[location
Am 29.04.2015 um 15:05 schrieb Pierre-François Bonnefoi bonne...@unilim.fr:
Hello,
I've tracked down the problem :
\def\numeroLigneCode#1{\inframed[width=fit,strut=yes,frame=off,rightframe=on]{\switchtobodyfont[9pt]#1}}
\definetyping[code][numbering=line,page=yes,bodyfont=9pt,before
framed (like inframed and such), use align={middle,high} etc for it or
the top/bottom keywords
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
I'd expect a double frame for a nested \inframed, too. And also
fog in the last row always on the baseline fort \inframed.
\starttext
foo\framed{\framed{foo}} \inframed{\inframed{foo}} foo
fog\framed{\framed{fog}} \inframed{\inframed{fog}} fog
\setupframed[strut=no]
fog\framed{\framed{fog
On 7/22/2014 2:13 PM, Herbert Voss wrote:
I'd expect a double frame for a nested \inframed, too. And also
fog in the last row always on the baseline fort \inframed.
\starttext
foo\framed{\framed{foo}} \inframed{\inframed{foo}} foo
fog\framed{\framed{fog}} \inframed{\inframed{fog}} fog
\inframed[width=\localhsize,align=right]{Some text.}
Herbert
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman
Hello,
How to make the numbering is in the frame and red ?
\defineenumeration
[ac]
[text={
\inframed[frame=off,
width=fit,
align={right},
background=color,
backgroundcolor=lightgray]{Activité}},
headstyle={\bf\feature[+][f:smallcaps
Am 27.04.2014 um 13:28 schrieb Fabrice Couvreur fabrice1.couvr...@gmail.com:
Hello,
How to make the numbering is in the frame and red ?
\defineenumeration
[ac]
[text={
\inframed[frame=off,
width=fit,
align={right},
background=color
Hello,
a bit ugly but working somehow
\setuphead[part][number=no]
%\showboxes
\starttext
\completecontent
\part{\inframed[frame=off]{Part 2:}
\inframed
[frame=off,width=fit,align=flushleft,location=high]
{This is the title of the first part, it is very
},
aftersection={\stopStyleColumns},]
\def\StylePageNumber#1{%
{\inframed[
frame=off,
background=color,
backgroundcolor=red,
width=2em,
height=2em,
]{#1}}}
\setuppagenumbering[location=inright,command=\StylePageNumber,]
\starttext\startchapter[title=Chapter]
\startsection[title
I found the following bug in \inframed, getting problems with inframing
arabic words, try the following example
\definefont[arab][name:arial*arabic at 18pt]
\define[1]\awort{{\hbox{\setupalign[r2l]\arab#1}}}
\starttext
\awort{بِالصَّالِحِينَ}\blank
\awort{\inframed{بِالصَّالِحِينَ}}
\stoptext
On Thu, 12 Sep 2013, H. Özoguz wrote:
I found the following bug in \inframed, getting problems with inframing
arabic words, try the following example
\definefont[arab][name:arial*arabic at 18pt]
\define[1]\awort{{\hbox{\setupalign[r2l]\arab#1}}}
Untested, but why not
\defineframed[awort
Salaam,
On Thu, 12 Sep 2013 06:09:46 -0600, H. Özoguz h.oezo...@mmnetz.de wrote:
I found the following bug in \inframed, getting problems with inframing
arabic words, try the following example
\definefont[arab][name:arial*arabic at 18pt]
\define[1]\awort{{\hbox{\setupalign[r2l]\arab#1
Salam, @Idris, Aditya: Thank you very much, works perfect for me.
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
On 9/5/2013 5:43 PM, Alan Bowen wrote:
In a lengthy document, \underbar occasionally has no effect. From the
wiki, I have learned that this can be rectified using
\inframed[frame=off]{\underbar{….}}. The problem is that this only works
for short text: lengthy text, say a paragraph, gets printed
of through them. (The problem was experienced
with Linux Libertine and mkiv, and not with Latin Modern.) The
workarounds are:
o Put the overstriked text in a |\inframed[frame=off]{}|.
As with \overstrike, with \underbar “off target” can mean “nowhere”.
\underbar and Latin Modern
was experienced with Linux Libertine and mkiv,
and not with Latin Modern.) The workarounds are:
- Put the overstriked text in a \inframed[frame=off]{}.
As with \overstrike, with \underbar “off target” can mean “nowhere”.
\underbar and Latin Modern witrh microtypography works but not \underbar
and Antykwa
In a lengthy document, \underbar occasionally has no effect. From the wiki,
I have learned that this can be rectified using
\inframed[frame=off]{\underbar{….}}. The problem is that this only works
for short text: lengthy text, say a paragraph, gets printed as a single
line.
Is there a way (a key
The code for my headers is of the form:
\setupheadertexts[{\inframed[frame=off,width=\textwidth,location=depth,align={right,broad,nothyphenated},tolerance=verytolerant]{Author\\Title\\\tab{\getmarking[chapternumber]}
\getmarking[chapter] \wordright{\pagenumber}}}]
As you might imagine, the name
is the manual
about it?
- The boxes on page 45, second example are not at the right
position, particularly the second is on the same line as the
first.
\leftaligned
{\inframed[width=fit]{People in Hasselt}}
\midaligned
{\inframed[height=1.5cm,frame=off]{have a}}
\rightaligned
{\inframed[background
the
chemical macros. I don't know the current state.
- The boxes on page 45, second example are not at the right
position, particularly the second is on the same line as the first.
\leftaligned
{\inframed[width=fit]{People in Hasselt}}
\midaligned
{\inframed[height=1.5cm,frame=off]{have
as the first.
\leftaligned
{\inframed[width=fit]{People in Hasselt}}
\midaligned
{\inframed[height=1.5cm,frame=off]{have a}}
\rightaligned
{\inframed[background=screen]{historic background}}
In MkIV there's a new syntax you can use:
\startlinealignment [left]
\inframed[width=fit]{People in Hasselt
Hello,
the inframed B in margin created by Lua doesn't appear, although
corresponding Ctx code works:
\starttext
\inmargin{\inframed{A}}
\input knuth
\blank
\directlua{context.inmargin(context.delayed.inframed(B)); context(Test.)}
\stoptext
What am I doing wrong?
TIA
Am 04.01.2013 um 16:22 schrieb Procházka Lukáš Ing. - Pontex s. r. o.
l...@pontex.cz:
Hello,
the inframed B in margin created by Lua doesn't appear, although
corresponding Ctx code works:
\starttext
\inmargin{\inframed{A}}
\input knuth
\blank
\directlua{context.inmargin
1 - 100 of 225 matches
Mail list logo